package com.forekonw.demo5;

public class Emplyee {

    private String no;
    private String name;
    private String dept;
    private double sal;

    public Emplyee(){

    }

    public Emplyee(String no,String name,String dept,double sal){
        this.dept = dept;
        this.name = name;
        this.no = no;
        this.sal = sal;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }
}
